﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace ElectronicDiary.Models.Parent
{
    public class GradesViewModel
    {
        public IEnumerable<ColumnViewModel> Columns { get; set; }
        public IEnumerable<RowViewModel> Rows { get; set; }

        public string Student { get; set; }
    }

    public class ColumnViewModel
    {
        public string Name { get; set; }
        public string Type { get; set; }
        public int ColSpan { get; set; }
    }

    public class RowViewModel
    {
        public IEnumerable<CellValueViewModel> Values { get; set; }
    }

    public class CellValueViewModel
    {
        public string Value { get; set; }
        public string ToolTip { get; set; }
        public string Type { get; set; }
    }
}